package com.qqzone.service.impl;

import com.qqzone.dao.HostReplyDAO;
import com.qqzone.pojo.HostReply;
import com.qqzone.service.HostReplyService;

import java.util.List;

/**
 * @author Yang
 * @creat 20:56 2022/8/26
 * @sice 1.8
 */

public class HostReplyServiceImpl implements HostReplyService {
    private HostReplyDAO hostReplyDAO = null;

    @Override
    public HostReply getHostReplyByReplyId(Integer replyId) {
        return hostReplyDAO.getHostReplyByReply(replyId);
    }

    @Override
    public void delHostReply(Integer id) {
        hostReplyDAO.delHostReply(id);
    }

    @Override
    public void addHostReply(HostReply hostReply) {
        hostReplyDAO.addHostReply(hostReply);
    }
}
